class Admin::UsersController < ApplicationController
  layout 'admin'
  before_filter :login_required, :authorization_required

  active_scaffold do |config|
    config.list.columns.exclude [:updated_at, :created_at, :conversations, :employee, :remember_token, :remember_token_expires_at, :salt, :crypted_password, :user_roles, :roles]
    config.show.columns.exclude [:conversations, :remember_token, :remember_token_expires_at, :salt, :crypted_password, :user_roles]
    config.create.columns.exclude [:conversations, :employee, :remember_token, :remember_token_expires_at, :salt, :crypted_password, :user_roles, :roles]
    config.update.columns.exclude [:conversations, :employee, :remember_token, :remember_token_expires_at, :salt, :crypted_password, :user_roles, :roles]
  end
end